Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax hightlight improvements for class definitions #12

Merged

Conversation

christopher-hopper
Copy link
Contributor

These changes improve syntax highlighting for class definitions in Puppet by highlighting:

  • variables, strings, numbers and constants used in class parameter default values
  • constants used in code for classes and nodes

The following screen captures illustrate the intended results of this change.

Before Improvements

selection_018

After Improvements

selection_017

Inside a node or class definition, ensure that contants are highlighted
when used.
Ensure that the following elements are highlighted when used in the
definition of class paramter default values:
- variables
- constants
- strings
- numbers
@mmolnar
Copy link

mmolnar commented Mar 4, 2015

Could you also fix the highlighting if there are braces as default parameters?
Thank you.

petems added a commit that referenced this pull request May 12, 2015
…ovements

Syntax hightlight improvements for class definitions
@petems petems merged commit 9c63b6a into russCloak:master May 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants